package com.ruoyi.standingbook.greenery.service;

import com.ruoyi.standingbook.greenery.domain.GreeneryImportDetail;
import com.ruoyi.standingbook.greenery.domain.vo.GreeneryImportDetailVo;
import com.ruoyi.standingbook.greenery.domain.bo.GreeneryImportDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 道路绿化管养导入明细Service接口
 *
 * @author cc
 * @date 2023-08-29
 */
public interface IGreeneryImportDetailService {

    /**
     * 查询道路绿化管养导入明细
     */
    GreeneryImportDetailVo queryById(Long id);

    /**
     * 查询道路绿化管养导入明细列表
     */
    TableDataInfo<GreeneryImportDetailVo> queryPageList(GreeneryImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询道路绿化管养导入明细列表
     */
    List<GreeneryImportDetailVo> queryList(GreeneryImportDetailBo bo);

    /**
     * 新增道路绿化管养导入明细
     */
    Boolean insertByBo(GreeneryImportDetailBo bo);

    /**
     * 修改道路绿化管养导入明细
     */
    Boolean updateByBo(GreeneryImportDetailBo bo);

    /**
     * 校验并批量删除道路绿化管养导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    Boolean batchInsertVo(List<GreeneryImportDetailVo> voList);
}
